package com.jj.service.impl;

import com.jj.dao.DepartmentDao;
import com.jj.dao.impl.DepartmentDaoImpl;
import com.jj.entity.Department;
import com.jj.service.DepartmentService;

import java.util.List;

public class DepartmentServiceImpl implements DepartmentService {
    private DepartmentDao departmentDao = new DepartmentDaoImpl();
    @Override
    public List<Department> getDepartment() {
        return departmentDao.getDepartment();
    }
}
